/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.jobmesmanage.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

/**
 * 勤工业务Entity
 * @author zms
 * @version 2018-03-23
 */
public class SchoStutype extends DataEntity<SchoStutype> {
	
	private static final long serialVersionUID = 1L;
	private String redStype;		// 勤工类型
	private String redShort;		// 简介
	private String redImg;		// 图片
	
	public SchoStutype() {
		super();
	}

	public SchoStutype(String id){
		super(id);
	}

	@Length(min=1, max=30, message="勤工类型长度必须介于 1 和 30 之间")
	public String getRedStype() {
		return redStype;
	}

	public void setRedStype(String redStype) {
		this.redStype = redStype;
	}
	
	@Length(min=0, max=255, message="简介长度必须介于 0 和 255 之间")
	public String getRedShort() {
		return redShort;
	}

	public void setRedShort(String redShort) {
		this.redShort = redShort;
	}
	
	@Length(min=0, max=255, message="图片长度必须介于 0 和 255 之间")
	public String getRedImg() {
		return redImg;
	}

	public void setRedImg(String redImg) {
		this.redImg = redImg;
	}
	
}